import { useContext } from 'react'
import { VideoContext } from '../video'
const SeeVideo = () => {
  const { prod, poster } = useContext(VideoContext)
  return (
    <div>
      <video style={{ width: '100%', height: '600px' }} autoPlay={true} src={prod} controls poster={poster}></video>
    </div>
  )
}

export default SeeVideo
